﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="YahooNewsPage.aspx.cs" Inherits="AjaxChatWebApp.YahooNewsPage" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="FeaturedContent" ContentPlaceHolderID="FeaturedContent" runat="server">
    <script type="text/javascript">
        $(function () {
            $("#radio").buttonset();
        });
    </script>
    <section class="featured">
        <div class="content-wrapper" align="center">
            <div id="radio">
                    <asp:RadioButton ID="rbEntertainment" runat="server" GroupName="radio" Text="Entertainment" Checked="True" OnCheckedChanged="rbCategory_CheckedChanged" AutoPostBack="True" />
                    <asp:RadioButton ID="rbMusic" runat="server" GroupName="radio" Text="Music" OnCheckedChanged="rbCategory_CheckedChanged" AutoPostBack="True" />
                    <asp:RadioButton ID="rbEducation" runat="server" GroupName="radio" Text="Education" OnCheckedChanged="rbCategory_CheckedChanged" AutoPostBack="True" />
                    <asp:RadioButton ID="rbMovies" runat="server" GroupName="radio" Text="Movies" OnCheckedChanged="rbCategory_CheckedChanged" AutoPostBack="True" />
                    <asp:RadioButton ID="rbSports" runat="server" GroupName="radio" Text="Sports" OnCheckedChanged="rbCategory_CheckedChanged" AutoPostBack="True" />
                    <asp:RadioButton ID="rbWeather" runat="server" GroupName="radio" Text="Weather" OnCheckedChanged="rbCategory_CheckedChanged" AutoPostBack="True" />
                    <asp:RadioButton ID="rbTravel" runat="server" GroupName="radio" Text="Travel" OnCheckedChanged="rbCategory_CheckedChanged" AutoPostBack="True" />
                    <asp:RadioButton ID="rbHealth" runat="server" GroupName="radio" Text="Health" OnCheckedChanged="rbCategory_CheckedChanged" AutoPostBack="True" />
            </div>
        </div>
    </section>   
</asp:Content>
<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">
    <asp:DataList ID="dlFeeds" runat="server">
        <ItemTemplate>
            <a href='<%# Eval("Link") %>'><strong><%# Eval("Title") %></strong></a>
            <br/>
            <asp:Literal ID="Literal1" runat="server" Text='<%# Eval("Description") %>'></asp:Literal>
            <br/>
        </ItemTemplate>
    </asp:DataList>
</asp:Content>
